//package com.mmy.fta.trade.server.config;
//
//import com.ymm.framework.dgc.DGCServletRequestListener;
//import org.springframework.boot.web.servlet.ServletListenerRegistrationBean;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
///**
// * @author chengqiang.yan
// */
//@Configuration
//public class ListenerConfig {
//    @Bean
//    public ServletListenerRegistrationBean servletListenerDgcBean(){
//        // 改造后，若是改造前的配置没有就新增该配置即可
//        ServletListenerRegistrationBean servletListenerRegistrationBean = new ServletListenerRegistrationBean();
//        servletListenerRegistrationBean.setListener(new DGCServletRequestListener());
//        return servletListenerRegistrationBean;
//    }
//}
